package com.cskaoyan.service.promotion_service;

import com.cskaoyan.bean.Topic;
import com.cskaoyan.bean.bo.TopicBatchDeleteBO;
import com.cskaoyan.bean.params.BaseParam;
import com.cskaoyan.bean.vo.promotion_vo.TopicListVO;
import com.cskaoyan.bean.vo.promotion_vo.TopicReadVO;

/**
 * @description：
 * @author: 曹旭
 * @date: 2022/5/7 13:58
 */
public interface TopicService {
    TopicListVO topicList(BaseParam param, String title, String subtitle);

    void deleteTopic(Topic topic);

    void batchDeleteTopic(TopicBatchDeleteBO batchDeleteBO);

    Topic createTopic(Topic topic);

    TopicReadVO readTopic(Integer id);

    Topic updateTopic(Topic topic);

}
